@layout("/common/_form.html",{js:["/assets/modular/web/user/user_add.js"]}){

<form class="layui-form" id="userForm" lay-filter="userForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">用户基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input id="userId" name="id" value="${userId}" type="hidden"/>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">用户名<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input name="userName" placeholder="请输入用户名" type="text" class="layui-input" autocomplete="off" lay-verify="required" lay-reqtext="用户名不能为空"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">手机号</label>
                        <div class="layui-input-block">
                            <input name="phone" placeholder="请输入手机号" type="text" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">性别</label>
                        <div class="layui-input-block">
                            <input type="radio" name="gender" value="0" title="保密" checked/>
                            <input type="radio" name="gender" value="1" title="男"/>
                            <input type="radio" name="gender" value="2" title="女"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">金币值</label>
                        <div class="layui-input-block">
                            <input name="gold" placeholder="请输入金币值" type="number" value="0" class="layui-input" lay-verify="numver"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">省份</label>
                        <div class="layui-input-block">
                            <input name="province" placeholder="请输入省份" type="text" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">城市</label>
                        <div class="layui-input-block">
                            <input name="city" placeholder="请输入城市" type="text" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">区/镇</label>
                        <div class="layui-input-block">
                            <input name="town" placeholder="请输入区/镇" type="text" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">详细地址</label>
                        <div class="layui-input-block">
                            <input name="address" placeholder="请输入详细地址" type="text" class="layui-input"/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}
